package com.navinfo.opentsp.platform.computing.analysis.util;

public class DataUtil {

    public static  <T> T getValue(Object o, Object defaultValue){
        if(o == null){
            return (T)defaultValue;
        }
        return (T)o;
    }
}
